package com.ruoyi.manager.mapper;

import java.util.List;
import com.ruoyi.manager.domain.Strategy;

/**
 * strategyMapper接口
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
public interface StrategyMapper 
{
    /**
     * 查询strategy
     * 
     * @param id strategy主键
     * @return strategy
     */
    public Strategy selectStrategyById(Long id);

    /**
     * 查询strategy列表
     * 
     * @param strategy strategy
     * @return strategy集合
     */
    public List<Strategy> selectStrategyList(Strategy strategy);

    /**
     * 新增strategy
     * 
     * @param strategy strategy
     * @return 结果
     */
    public int insertStrategy(Strategy strategy);

    /**
     * 修改strategy
     * 
     * @param strategy strategy
     * @return 结果
     */
    public int updateStrategy(Strategy strategy);

    /**
     * 删除strategy
     * 
     * @param id strategy主键
     * @return 结果
     */
    public int deleteStrategyById(Long id);

    /**
     * 批量删除strategy
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStrategyByIds(Long[] ids);
}
